body{
    font: Microsoft YaHei;
}
.chatBackgroud {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.chatWarpper {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 3px;
    margin-top: 10px;
    width: 400px;
    height: 600px;
    background: rgb(236, 236, 236);
}

@media screen and (max-width: 800px) {
    .chatWarpper {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }
}

.chatWarpper .chatHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    box-sizing: border-box;
    background-color: rgb(236, 236, 236);
    width: 100%;
    box-shadow: 0 1px 3px rgb(26 26 26 / 10%);
}

.chatWarpper .chatHeader .chatTargetName {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-decoration: none;
    max-width: 70%;
}

.chatWarpper .chatTextBox {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0 8px;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    background: rgb(236, 236, 236);
}

.chatContent {
    margin: 5px 3px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: flex-end;
    position: relative;
}

.chatWarpper .chatAvatar {
    height: 40px;
    width: 40px;
    padding: 0px 5px;
    border-radius: 4px;
}

.chatContent .chatTargetText {
    left: 10px;
    min-width: 20px;
    min-height: 8px;
    max-width: 80%;
    background: white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 18px;
    color: black;
    word-break: break-word;
    position: relative;
    padding: 10px 14px;
}

.chatContent .chatTargetText::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: -12px;
    top: 15px;
    border: 6px solid;
    border-color: white white transparent transparent;
}

.chatContent .chatMyText {
    right: 10px;
    min-width: 20px;
    min-height: 8px;
    max-width: 60%;
    background: rgb(150 237 107);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 18px;
    color: black;
    word-break: break-word;
    position: relative;
    padding: 10px 14px;
}

.chatContent .chatMyText::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: -12px;
    top: 12px;
    border: 6px solid;
    border-color: rgb(150,237,107) transparent transparent rgb(150,237,107);
}

.chatTextBox .chatTimeDivide {
    display: flex;
    justify-content: center;
    margin: 8px 0;
    color: #888888;
    font-size: 14px;
}

.chatWarpper .chatInputBox {
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 24px;
    background-color: rgb(236, 236, 236);
    box-shadow: 0 -1px 3px rgb(26 26 26 / 10%);
}

.chatWarpper .chatInputBox .input {
    flex: 1;
    max-height: 40vh;
    margin-right: 8px;
    overflow: auto;
    border: none;
    padding: 4px 8px;
    outline: none;
    min-height: 20px;
    border-radius: 4px;
    line-height: 20px;
    resize: none;
    background: #fff;
    caret-color: rgb(150,237,107);
}
.chatWarpper .chatInputBox .input:hover {
    cursor: pointer;
    border-bottom: none;
    -webkit-box-shadow:none;
    box-shadow: none;
}

.chatWarpper .chatInputBox .chatBtn {
    transform: scale(1.2);
    margin-left: 4px;
}

.chatWarpper .chatTargetList {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    background-color: #fff;
}

.chatWarpper .chatTargetList .chatLi {
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    height: 70px;
    min-height: 70px;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.chatWarpper .chatTargetList .chatLi .chatTargetContent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 8px 4px;
    line-height: 1.41176471;
    font-size: 17px;
    overflow: hidden;
    position: relative;
}
.chatContentRight{
    margin-right: auto;
    width: 90%;
    display: flex;
    flex-direction: column;
}
.chatTagName{
    line-height: 24px;
    font-size: 12px;
    white-space: nowrap;
    color: #999;
    margin-left: 8px;
}
.chatLi .chatTargetContent .chatTargetContentLeft {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 80%;
}
.chatTargetContentLeftName{
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.chatTargetContentLeftMessage{
    margin-top: 4px;
    font-size: 12px;
    color: rgba(0,0,0,0.5);
}
.chatLi .chatTargetContent .chatTargetContentRight {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
}
.chatLi .chatBigImg{
    width: 48px;
    height: 48px;
}
.chatInputBtn{
    background-color: #06ae56;
    margin: 0;
    border: none;
    position: relative;
    display: block;
    width: 55px;
    padding: 5px 8px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 10px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    line-height: 1.41176471;
    border-radius: 4px;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    cursor: pointer;
    animation: RightToLeft .3s;
}
.chatInputBtn:active{
    opacity: 0.76;
}
.chatVcenter{
    display: flex;
    align-items: center;
}
@keyframes RightToLeft{
    0%{
        transform: translateX(20px);
    }
}
@keyframes RightToLeftB{
    0%{
        transform: translateX(50px);
    }
}
@keyframes BottomToTop{
    0%{
        transform: translateY(40px);
    }
}
.chatMoreBox{
    position: absolute;
    top: 58px;
    left: 12px;
    background-color: #191919;
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}
.chatMoreBox::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: -15px;
    left: 10px;
    border: 8px solid;
    border-color: transparent transparent #191919 transparent;
}
.chatMoreBoxLi{
    width: 160px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color .3s;
}
.chatMoreBoxLi:hover{
    background-color: #5756569a;
}
.chatBadge{
    position: absolute;
    top: -.4em;
    right: -.4em;
}
.weui-badge {
    margin-left: 5px;
    display: inline-block;
    padding: 0.15em 0.4em;
    min-width: 8px;
    border-radius: 18px;
    background-color: #fa5151;
    color: #fff;
    line-height: 15px;
    text-align: center;
    font-size: 12px;
    vertical-align: middle;
}
.chatTimeRightTag{
    position: absolute;
    right: -36px;
    bottom: 0px;
    opacity: 0;
    transition: opacity .3s;
}
.chatContent:hover .chatTimeLeftTag{
    opacity: 1;
}
.chatContent:hover .chatTimeRightTag{
    opacity: 1;
}
.chatTimeLeftTag{
    position: absolute;
    left: -42px;
    bottom: 0px;
    opacity: 0;
    transition: opacity .3s;
}
.weui-primary-loading {
    font-size: 16px;
    display: inline-flex;
    position: relative;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    color: #606060;
    animation: circleLoading 1s steps(60, end) infinite;
  }
  .weui-primary-loading:before,
  .weui-primary-loading:after {
    content: "";
    display: block;
    width: 0.5em;
    height: 1em;
    box-sizing: border-box;
    border: 0.125em solid;
    border-color: currentColor;
  }
  .weui-primary-loading:before {
    border-right-width: 0;
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    -webkit-mask-image: linear-gradient(180deg, #000000 8%, rgba(0, 0, 0, 0.3) 95%);
  }
  .weui-primary-loading:after {
    border-left-width: 0;
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 8%, rgba(0, 0, 0, 0.3) 95%);
  }
  .weui-primary-loading__dot {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -0.0625em;
    width: 0.125em;
    height: 0.125em;
    border-top-right-radius: 0.125em;
    border-bottom-right-radius: 0.125em;
    background: currentColor;
  }
  @keyframes circleLoading {
    0% {
      transform: rotate3d(0, 0, 1, 0deg);
    }
    100% {
      transform: rotate3d(0, 0, 1, 360deg);
    }
  }
.chatBottomBox{
    max-height: 35%;
    padding: 12px 24px;
    animation: BottomToTop .3s;
}
.chatEmojiBox{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    overflow-y: auto;
    height: 100%;
    user-select: none;
}
.chatEmoji{
    height: 36px;
    width: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 20px;
    cursor: pointer;
}
.chatEmoji:hover{
    background-color: rgb(26 26 26 / 10%);
}
.chatfunction{
    display: flex;
    position: relative;
    width: 65px;
    flex-direction: column;
    height: 65px;
    align-items: center;
    justify-content: center;
    background: #f6f6f6;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 23px;
    cursor: pointer;
    margin: 0 10px;
}
.chatfunction:hover{
    background-color: rgb(26 26 26 / 10%);
}
.chatfunction div{
    FONT-WEIGHT: 500;
    font-size: 12px;
}
.chatOtherMsg{
    display: inline-block;
    margin: 0 8px;
    position: relative;
    font-size: 14px;
    text-align: center;
    color: #130f40;
    display: flex;
    justify-content: center;
    margin-top: 4px;
    user-select: none;
}
.chatFoucs{
    cursor: pointer;
    border-bottom: 1px solid transparent;
}
.chatFoucs:hover{
    border-bottom: 1px solid #130f40;
}
.weui-loading {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    animation: weuiLoading 1s steps(12, end) infinite;
    background: transparent url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") no-repeat;
    background-size: 100%;
  }
  @keyframes weuiLoading {
    0% {
      transform: rotate3d(0, 0, 1, 0deg);
    }
    100% {
      transform: rotate3d(0, 0, 1, 360deg);
    }
  }
.weui-dialog{
    width: 320px;
    margin: 0 auto;
    position: fixed;
    z-index: 5000;
    top: 50%;
    left: 16px;
    right: 16px;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    background-color: #fff;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    max-height: 90%;
}
.weui-dialog__hd {
    padding: 32px 24px 16px;
}
.weui-dialog__bd {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px;
    margin-bottom: 32px;
    font-size: 17px;
    line-height: 1.4;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    color: rgba(0,0,0,0.5);
}
.weui-dialog__ft {
    position: relative;
    line-height: 56px;
    min-height: 56px;
    font-size: 17px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}
.weui-dialog__btn {
    background-color: #fff;
    border: none;
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    color: #576b95;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    outline: none;
    border-top:1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;

}
.weui-dialog__btn:active{
    background-color: #ececec;
}
.weui-dialog__title {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
}
.chatModal{
    animation: fade .5s;
}
@keyframes fade{
    0%{
        opacity: 0;
    }
}
.weui-mask {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
}
.chatNoneText{
    display: flex;
    justify-content:center;
    align-items: center;
    height: 100%;
    font-size: 20px;
    font-weight: 400;
}